<template>
  <div @click="callBack">点击触发父组件</div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  props: {
    showdevice: {
      type: Object,
      default: () => {
        return {};
      }
    },
  },
  mounted () {
    setTimeout(() => {
      console.log(this.showdevice);
    }, 100)
  }, methods: {
    callBack () {
      this.$emit("callBack")
    }
  }
}
</script>